home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / machack / Hacks97 / WarriorsProgress.sit / Warrior’s Progress / source code / Source / Libraries / ListTestView.h < prev    next >
Text File  |  1997-06-28  |  546b  |  36 lines

  1. // ListTestView.h
  2.  
  3. #ifndef ListTestView_h
  4. #define ListTestView_h
  5.  
  6. #ifndef ListView_h
  7. #include "ListView.h"
  8. #endif
  9. #ifndef ViewCell_h
  10. #include "ViewCell.h"
  11. #endif
  12.  
  13. class ListTestView: public ListView
  14.   {
  15.     private:
  16.         class ColorCell: public ViewCell
  17.           {
  18.             private:
  19.                 RGBColor color;
  20.             
  21.             public:
  22.                 ColorCell( uint32 );
  23.                 virtual void Draw( const ViewMap& ) const;
  24.           };
  25.         
  26.         ColorCell cell;
  27.         
  28.     protected:
  29.         ListTestView();
  30.         
  31.         virtual const ViewCell& operator[]( uint32 ) const;
  32.         virtual ViewCell& operator[]( uint32 );
  33.   };
  34.  
  35. #endif
  36.